package com.migo.service;

import com.migo.entity.FirmwareZipEntity;

import java.util.List;
import java.util.Map;

/**
 * zip固件信息表
 * 
 * @author powervision
 * @email wes.wang@powervision.me
 * @date 2020-04-21 10:06:19
 */
public interface FirmwareZipService {
	
	FirmwareZipEntity queryObject(Integer id);
	
	List<FirmwareZipEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(FirmwareZipEntity firmwareZip);
	
	void update(FirmwareZipEntity firmwareZip);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);

	List<FirmwareZipEntity> queryFirmwareList(Map<String, String> map);

	List<FirmwareZipEntity> queryModelList(Map<String, String> map);

	List<FirmwareZipEntity> queryFirmwareObjects(Map<String, String> map);

	List<Map<String, Object>> queryNextVersionList(Map<String, String> map);

	List<Map<String, Object>> queryFirmwareMap(Map<String, String> map);

	String  queryVersionTime(Map<String, String> map);

	List<Map<String, Object>>  queryMaxVersionList(Map<String, String> map);
}
